package com.sy.mapper;

import com.sy.bean.ReceiptDetail;
import com.sy.common.crud.IMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReceiptDetailMapper extends IMapper<ReceiptDetail> {
    /**
     * 批量保存收款单明细
     * @param id 收款单id
     * @param receiptDetailList 收款单明细
     * @return 行数
     */
    int batchSave(@Param("id") int id,@Param("receiptDetailList") List<ReceiptDetail> receiptDetailList);
}
